package me.raih.pojo.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author Raih
 * @Time 2020/11/23  9:04
 *
 * 商家实体类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Component
public class Admin {

    private String username;
    private String password;
    private String name;
    @Value("2")
    private Integer power;
}
